import request from '@/utils/request'

// 查询题库笔记记录列表
export function listQbmsRecordNote(query) {
  return request({
    url: '/qbms/qbmsRecordNote/list',
    method: 'get',
    params: query
  })
}

// 查询题库笔记记录详细
export function getQbmsRecordNote(id) {
  return request({
    url: '/qbms/qbmsRecordNote/' + id,
    method: 'get'
  })
}

// 新增题库笔记记录
export function addQbmsRecordNote(data) {
  return request({
    url: '/qbms/qbmsRecordNote',
    method: 'post',
    data: data
  })
}

// 修改题库笔记记录
export function updateQbmsRecordNote(data) {
  return request({
    url: '/qbms/qbmsRecordNote',
    method: 'put',
    data: data
  })
}

// 删除题库笔记记录
export function delQbmsRecordNote(id) {
  return request({
    url: '/qbms/qbmsRecordNote/' + id,
    method: 'delete'
  })
}
